{% for msg in obj.msgList %}

{% ifequal msg.type 2 %}
<div class="panel panel-default">
  <div class="panel-body">
    <b>
      <a href="/account/user/{{msg.fromPer.id}}/">
        {{msg.fromPer.nickname}}
      </a>
      <i>
        在你的"
        <a href="{{msg.originUrl}}">
          {{msg.originContent}}
        </a>
        "里评论：
      </i>
    </b>
    {{msg.content}}
  </div>
</div>
{%endifequal%}

{% ifequal msg.type 1 %}
<div class="panel panel-default ">
  <div class="panel-body">
    <b>
      有人
      <i>
        赞了你的"
        <a href="{{msg.originUrl}}">
          {{msg.originContent}}
        </a>
        "
      </i>
    </b>
  </div>
</div>
{%endifequal%}

{% ifequal msg.type 4 %}
<div class="panel panel-default ">
  <div class="panel-body">
    <b>
      <a href="/account/user/{{msg.fromPer.id}}/">
        {{msg.fromPer.nickname}}
      </a>
      <i>
        收藏了你的"
        <a href="{{msg.originUrl}}">
          {{msg.originContent}}
        </a>
        "
      </i>
    </b>
  </div>
</div>
{%endifequal%}

{% ifequal msg.type 3 %}
<div class="panel panel-default">
  <div class="panel-body">
    <b>
      <a href="/account/user/{{msg.fromPer.id}}/">
        {{msg.fromPer.nickname}}
      </a>
      <i>
        在"
        <a href="{{msg.originUrl}}">
          {{msg.originContent}}
        </a>
        "里回复：
      </i>
    </b>
    {{msg.content}}
  </div>
</div>
{%endifequal%}

{%endfor%}




